package com.nit.lab.vote.dto.vote;

public class UPDTO {
    private Long userProjectId;
    private Long userId;
    private Long projectId;
    private Integer voted = 0;

    public UPDTO() {
    }

    public UPDTO(Long userProjectId, Long userId, Long projectId) {
        this.userProjectId = userProjectId;
        this.userId = userId;
        this.projectId = projectId;
    }

    public Long getUserProjectId() {
        return userProjectId;
    }

    public void setUserProjectId(Long userProjectId) {
        this.userProjectId = userProjectId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Integer getVoted() {
        return voted;
    }

    public void setVoted(Integer voted) {
        this.voted = voted;
    }
}
